home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILREEN / NEWKEY.LZH / NEWKEY54.EXE / README < prev    next >
Text File  |  1990-12-08  |  17KB  |  434 lines

  1. This contains:
  2.  
  3. - The latest information on changes to Newkey since version 5.0 
  4.  
  5. - Information on how to upgrade version 4.0 macro files to version 5.0 
  6. macro files
  7.  
  8. - Hints on using Newkey functions
  9.  
  10. - The latest information on software and hardware compatibility
  11.  
  12. RECENT CHANGES
  13.  
  14. Version 5.4
  15.  
  16. - A new macro function, {prtscrn}, that will invoke the "print screen" 
  17. function has been added.  Use the macro editor to insert this function.  
  18. Pressing the "print screen" key will NOT cause the {prtscrn} function to 
  19. be inserted in the macro.
  20.  
  21. - Several new macro functions have been added to make it possible to 
  22. test the screen:
  23.  
  24.    {ifescr row,col}TEXT{endife}
  25.  
  26.             - If the contents of the screen starting at row, 
  27.               column equal "TEXT" then execute the macro function 
  28.               immediately following.  "TEXT" can be any characters that can 
  29.               be displayed on the screen.  For example: 
  30.  
  31.                {ifescr 0,75}READY{endife}<go123><nextmac>
  32.  
  33.               Assume the above is in a macro designed to be used by 
  34.               Lotus 1-2-3.  When executed, Newkey would check row 0 
  35.               column 75 of the screen for "READY" and if found, it 
  36.               would execute the <go123> macro, otherwise it would skip 
  37.               the <go123> macro.
  38.  
  39.    {ifnescr row,col}TEXT{endifne}
  40.  
  41.             - If the contents of the screen starting at row, 
  42.               column do not equal "TEXT" then execute the macro function 
  43.               immediately following.  For example:
  44.  
  45.                {ifnescr 0,75}READY{endifne}<go123><nextmac>
  46.  
  47.               Assume the above is in a macro designed to be used by 
  48.               Lotus 1-2-3.  When executed, Newkey would check row 0 
  49.               column 75 of the screen for "READY" and if not found, it 
  50.               would execute the <go123> macro, otherwise it would skip 
  51.               the <go123> macro.
  52.  
  53.    {ifefscr row,col}TEXT{endifef}
  54.  
  55.             - If "TEXT" is found anyplace on the screen execute the macro 
  56.               function immediately following.  For example: 
  57.  
  58.                {ifefscr}READY{endifef}<go123><nextmac>
  59.  
  60.               Assume the above is in a macro designed to be used by Lotus 
  61.               1-2-3.  When executed, Newkey would the full screen for 
  62.               "READY" and if found, it would execute the <go123> macro, 
  63.               otherwise it would skip the <go123> macro.  
  64.  
  65.    {ifnefscr row,col}TEXT{endifne}
  66.  
  67.             - If "TEXT" is not found anyplace on the screen execute the 
  68.               macro function immediately following.  For example: 
  69.  
  70.                {ifnefscr}READY{endifnef}<go123><nextmac>
  71.  
  72.               Assume the above is in a macro designed to be used by 
  73.               Lotus 1-2-3.  When executed, Newkey would check the full 
  74.               screen for "READY" and if not found, it would execute the 
  75.               <go123> macro, otherwise it would skip the <go123> macro.  
  76.  
  77. The if macro functions are probably the most difficult of Newkey's macro 
  78. functions to use.  See EXAMPLE.KEY for some sample if macros that will work 
  79. at the DOS prompt and demonstrate some of the powerful things that can be 
  80. done..
  81.  
  82.    {cancel} - cancel all currently executing macros
  83.  
  84.    {return} - stop executing the current macro and return control to 
  85.               the macro which called the current macro.  If the 
  86.               current macro was not called by another macro then 
  87.               the macro will stop just as if it had terminated 
  88.               normally.
  89.  
  90. The {cancel} and {return} functions have been added to make working 
  91. with the {ifescr} and {ifnescr} functions easier.  The if functions 
  92. can be used to test the currently status of the program and delay 
  93. macro execution until the program is ready to accept further 
  94. keystrokes.  This is more convenient then trying to time how long it 
  95. takes and then using the {wait} function (as long as the program 
  96. displays some sort of indicator on the screen when it is done).  For 
  97. working examples see the macros beginning with "if" in EXAMPLE.KEY.  
  98.  
  99. HINT:  To help determine what row and column a piece of text starts 
  100. on, the "cUt" screen has been changed to display the row and column of 
  101. the current cursor position.  Just pop up the Newkey menu (alt/), 
  102. select "U", move the cursor to the start of the text you want 
  103. to check for, note the row & column, and press ESC to cancel the cut.  
  104. Then use the macro editor to insert the if function.
  105.  
  106. See EXAMPLE.KEY for sample macros illustrating the new functions.
  107.  
  108. Version 5.3
  109.  
  110. - This version more fully uses EMS memory to save you an additional
  111. 15K of memory below the 640K line.
  112.  
  113. - Menu macros have been changed so that they restart themselves after 
  114. the menu option has been selected unless the menu option selected was 
  115. defined with a 'y' in the 'exit' column or the menu's exit key was 
  116. selected.  Previously the menu macro would always end after a menu 
  117. option was selected.
  118.  
  119. Version 5.2 
  120.  
  121. This version sports an updated user interface.  The new interface 
  122. functionally is very similar to earlier versions of 5.0, but with a 
  123. more attractive face.  The menu and display macro edit screens have 
  124. been slightly rearranged.  
  125.  
  126. Version 5.1
  127.  
  128. Newkey will now use EMS memory to store its macro and screen 
  129. buffer.  EMS memory will be automatically used.  To prevent EMS 
  130. usage use the "/noems" parameter when loading Newkey.  For example:
  131.  
  132.   newkey /3000 /noems
  133.  
  134. will load Newkey with a 3000 character macro buffer and prevent 
  135. usage of EMS memory.
  136.  
  137. We have been receiving many requests for a very small version.  We 
  138. have started development of NEWKEYVS for Newkey Very Small.  This 
  139. version does not have the pop-up features and lacks many other 
  140. macro functions.  Currently it requires only about 22k, 38k less 
  141. than the largest version.  Newkeysm is still available, lacks the 
  142. pop-up features, and weighs in at about 35k, 25k less than the 
  143. largest version.
  144.  
  145.                         HINTS
  146.  
  147. HINTS ON EXECUTING MACROS FROM BATCH FILES
  148.  
  149. Macros may be executed from batch files using the "newkeysp /ek=" 
  150. function as described in the Users Guide.  The way this operates can be 
  151. confusing.  Assume that you have a macro defined for <alta>.  To execute 
  152. this macro in a batch file you would place the following statement:
  153.  
  154.       "newkeysp /ek=[alta]" 
  155.  
  156. in the batch file.  This will cause the key code associated with the 
  157. alta key to be inserted in the keyboard buffer.  Now, the next time the 
  158. keyboard buffer is read, alta will be found and the macro associated 
  159. with it executed, just as if you had pressed the alta key yourself.
  160.  
  161. The confusing part of this is that the macro will only execute when the 
  162. keyboard is read, but the keyboard is not read while DOS is processing a 
  163. batch file.  What this means is that the macro will not execute until 
  164. either:
  165.  
  166.      A. control is returned to the DOS command line or 
  167.      B. a program is run in the batch file and the program reads the 
  168.         keyboard.
  169.  
  170. If you wish to execute a macro to drive a program during a batch file 
  171. then you should insert the macro into the buffer and then start the 
  172. program.  For example, to start WordPerfect and execute a macro when 
  173. Wordperfect starts up that will format your letter heading, record a 
  174. macro (lets call it WPSTART) within WordPerfect to create the letter 
  175. heading and place the following two statements in your batch file: 
  176.  
  177.         newkeysp /ek=[wpstart]
  178.         wp
  179.  
  180. Now when the batch file is run, the <wpstart> macro will be inserted 
  181. into the keyboard buffer and when WordPerfect starts it will read the 
  182. keyboard and the <wpstart> macro will execute. 
  183.  
  184. HINTS ON USING MENU MACROS
  185.  
  186. If you wish to do more in a menu macro than allowed by the menu macro 
  187. editor, then define another macro to contain the menu macro and put 
  188. the extra macro functions before and after the invocation of the menu 
  189. macro as desired.  For example:
  190.  
  191. {begdef alta}Extra stuff before<menumac>extra stuff after{enddef}
  192.  
  193. This will allow you to edit the menu macro, <menumac>, without losing 
  194. any of the extra stuff.  
  195.  
  196. HINTS ON SENDING CONTROL CHARACTERS TO A PRINTER
  197.  
  198. To send control codes (x'01'-x'26') use <ctrla> - <ctrlz> in the 
  199. <begprint><endprint> function.
  200.  
  201. IMPORTANT CONVERSION INFORMATION
  202.  
  203. All users will have to convert their macro files.  Users of
  204. versions earlier than 4.0 will have to convert them more than once.
  205. Pick the appropriate version you are at and follow all of the 
  206. instructions that follow: 
  207.  
  208. Version 3.0 or earlier: 
  209.  
  210. Users with version 3.0 or earlier will have to send us a disk and 
  211. self-addressed stamped disk mailer and we will put a copy of 
  212. conv1to2 conversion progam on.  There was not space on the disk to 
  213. accommodate everything we wished to put on it.
  214.  
  215. Version 4.0:
  216.  
  217. 1.  Run the conv4to5 program and follow instructions.  
  218.  
  219.          COMPATIBILITY WITH OTHER SOFTWARE AND HARDWARE
  220. CRUISE CONTROL
  221.  
  222. This advice has been passed on by a user of Cruise Control 
  223. (you should look at Newkey's own cursor speedup feature, which I 
  224. believe works as well as Cruise Control, although a bit 
  225. differently of course). 
  226.  
  227. 1.  Redefine Cruise Control's hot key by running "CRUISE/R" first.
  228.  
  229. 2.  Turn off Newkey's extended buffer.
  230.  
  231. 3. Turn off either Newkey's or Cruise control's screen saver 
  232. feature.
  233.  
  234. DELL 310 COMPUTER
  235.  
  236. The 101/102 key keyboard and Phoenix 1.10 09 BIOS do not generate 
  237. the correct code for <ctrl\>.  You will have to redefine the "edit 
  238. macro being defined" key to something else using the "control 
  239. <K>eys" selection from the Newkey pop-up or Newkeysp main menus.
  240.  
  241. The Phoenix 1.10 09 BIOS will hangup if Newkey is installed and the 
  242. extended ascii character generated by pressing alt+2+4+0 on the 
  243. numeric keypad is entered.
  244.  
  245. DESKMATE 3.0 (Tandy)
  246.  
  247. Deskmate will hang up on non-enhanced keyboards whenever Newkey 
  248. tries to create a key and insert it in the buffer.  To solve this 
  249. do the following:
  250.  
  251. 1.  Use the "control Keys" option on the Newkeysp menu or Newkey 
  252. pop-up menu to change the following control keys:
  253.  
  254.         dynamic display request <alt/>
  255.         playback multi character <alt,>
  256.         cancel macro <ctrldel>
  257.         cut & paste playback <ctrlins>
  258.  
  259. to other values.  Make sure that the new values are not also keys 
  260. created by Newkey by checking to see if they have an "@" or "*" 
  261. next to them in "Appendix C - Extended Codes" in the Newkey users 
  262. manual.
  263.  
  264. 2.  Use the "ignore keys" option on the Newkeysp menu to ignore all 
  265. keys.  Make these changes permanent when prompted.
  266.  
  267.  
  268. DESKMATE/DESKTEAM 1.04 (Alternative Decision Systems)
  269.  
  270. There are several problems using Newkey together with Deskmate.  
  271. Some of these problems can be resolved by changing some of Newkey's 
  272. parameters.  Some of them are inherent to the way Deskmate works 
  273. and will require changes in the Deskmate program in order to work. 
  274.  
  275. To use with Deskmate do the following: 
  276.  
  277. 1.  Turn off the extended keyboard buffer.
  278. 2.  Load Newkey after loading Deskmate.
  279.  
  280. You may notice that Newkey's pop-ups will not work immediately 
  281. after using the Deskmate pop-ups.  This happens because Deskmate 
  282. apparently does not wait until a completely appropriate time to 
  283. pop-up.  If this happens, just do a "DIR" or some other command 
  284. first.  This will cause DOS to re-stabilize itself.
  285.  
  286. The following problems would require Deskmate changes.  If you 
  287. encounter these problems we suggest you contact Alternative 
  288. Decision Systems.  We have written them a letter trying to resolve 
  289. these problems but have received no response.
  290.  
  291. 1. Deskteam will not pop-up if using an enhanced keyboard.
  292.  
  293. Deskteam apparently waits until an interrupt 16h, ah=0, before 
  294. checking to see if its hot key has been struck.  The BIOS on PCs 
  295. with the enhanced keyboard, however, supports a new set of calls, 
  296. where ah=10h and ah=11h which correspond to the old ah=0 and and 
  297. ah=1 calls with the exception that they expose the scan codes on 
  298. the separate keypads so that the duplicate keys can be 
  299. distinquished from their counterparts on the home keypad.  If an 
  300. program only uses these new calls, Deskteam never recognizes its 
  301. hot key.  Newkey, as part of its processing always uses the new 
  302. calls and as a result Deskteam will not pop up when Newkey is 
  303. installed.  Even if Newkey was not installed, Deskteam would not 
  304. pop up the program currently running used the new calls.  
  305.  
  306. FOXPRO
  307.  
  308. Foxpro uses the CTRL-2 keycode for special purposes.  Redefine the 
  309. "skip translating next key" hot key to something else (use the 
  310. control Keys menu.)
  311.  
  312. HOMEBASE
  313.  
  314. This advice has been passed on by a user of Homebase.
  315.  
  316. 1.  Turn off Newkey's extended buffer or instruct Homebase to not 
  317. use its own buffer (set option k0 0).
  318.  
  319. 2.  Turn off Homebase's Clock Display (set option -c0 0) or 
  320. Newkey's CAP/NUM display.
  321.  
  322.  
  323. MS-WORD
  324.  
  325. 1.  Turn on the "shift status reset" option.  For a further 
  326. explanation consult the Newkey manual.
  327.  
  328. 2.  It may be necessary to turn off the extended buffer, depending 
  329. on which version of MS-WORD is being used.
  330.  
  331. 3.  Use the "ignore keys" option on the Newkeysp menu to ignore 
  332. keys which MS-Word tries to create it self.
  333.  
  334. See section on PC-Write for related information.
  335.  
  336. PC-WRITE
  337.  
  338. 1.  Turn on the "shift status reset" option.  For a further 
  339. explanation consult the Newkey manual.
  340.  
  341. 2.  You may want to use the "ignore keys" option on the Newkeysp 
  342. menu to ignore keys which MS-Word tries to create it self.  
  343.  
  344. See PC-Write in the index of the User's guide for related 
  345. information.  
  346.  
  347. TANDY 1000SX
  348.  
  349. There are minor incompatibilities with interpretation of the 
  350. numeric and separated keypads.  Evidently these keys do not all 
  351. produce the same key codes as the IBM PC.  The net effect is that 
  352. many of these keys will be mistaken by Newkey for other keys.  An 
  353. example might be that if had a macro assigned to <alt]>, it would 
  354. be played back if you pressed <altnum.>.
  355.  
  356.  
  357. WORDSTAR 4.0
  358.  
  359. Wordstar 4.0 works a little differently than Wordstar 3.3.  
  360. If you feed keystrokes back too quickly to Wordstar 4.0 it will 
  361. discard them, Wordstar 3.3 did not.  To get around this just make 
  362. sure that slow typing mode is on when Newkey macros execute.  
  363. Wordstar 4.0 also require the alternate fast key mode described 
  364. earlier in this readme.
  365.  
  366. XYWRITE 3.53
  367.  
  368. This latest version of Xywrite works with Newkey without any 
  369. apparent problems.
  370.  
  371.                 FILES SUPPLIED WITH NEWKEY 5.4
  372.  
  373. Sample Macro Files
  374.  
  375. Several sample macro files are supplied with Newkey to illustrate 
  376. its use and provide you with a starting point.  These files are 
  377. described below.  
  378.  
  379. DEMO.KEY
  380.  
  381. This macro file is used to take you on a guided tour designed to 
  382. illustrate Newkey's major features and requires 192k of memory.  To 
  383. take the tour, issue the command "demo".  This macro file is an 
  384. example of display macros.  
  385.  
  386. DVORAK.KEY - Dvorak keyboard customization
  387.  
  388. This file contains the macros necessary to redefine your keyboard 
  389. to the Dvorak layout.  There is one minor problem in using the 
  390. Dvorak layout with the Caps Lock feature.  Caps Lock will only lock 
  391. the standard alphabet into shift mode.  Since the Dvorak layout 
  392. uses some non-alphabetic keys, the Caps Lock feature will not 
  393. automatically capitalize these keys, although normal shifting will.  
  394.  
  395. EXAMPLE.KEY - Example macros
  396.  
  397. MENU.KEY - Example menu macros
  398.  
  399. This macro file illustrates many Newkey functions.
  400.  
  401. Other files on the Newkey Disk
  402.  
  403. CONV4TO5.EXE - Program to convert version 4.0 files to version 5.0 
  404. internal format files.  
  405.  
  406. DEMO.BAT - This batch file will give you a demonstration of Newkey.  
  407. It requires 192k of memory.  
  408.  
  409. EXAMPLE.BAT - examples of how to use Newkeysp in batch mode.  
  410.  
  411. LOADNEW.BAT - illustrates how to load Newkey and a macro file from 
  412. a batch file.
  413.  
  414. NEWKEY.EXE - This program actually replaces the keyboard 
  415. interrupts (x'9' and x'16').  It is always present while other 
  416. programs execute and unless called upon to translate, will be 
  417. transparent.  
  418.  
  419. NEWKEYSM.EXE - This is the small version of Newkey.exe.  It lacks 
  420. the pop-up features and is about 25k smaller.  
  421.  
  422. NEWKEYSP.EXE - This program provides several functions necessary to 
  423. effectively use Newkey and is described further in the users manual.
  424.  
  425. NEWKEYVS.EXE - This is the very small version of Newkey.exe.  It 
  426. lacks the pop-up features plus several other features and is about 
  427. 38k smaller.  
  428.  
  429. ORDER.FRM - Current Newkey prices and order form.
  430.  
  431. README - This file will contain any Newkey updates that may have 
  432. come up since this manual was printed and information on using 
  433. Newkey with other software.
  434.